package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.example.entity.SysMenu;
import org.example.entity.SysSpec;

import java.util.List;

@Mapper
public interface SysSpecMapper extends BaseMapper<SysSpec> {
    //spec菜单
    List<SysSpec> getSpec();
    //删除数据
    void deleteSpecById(long id);
    //拿到spec列表下的子数据
    List<SysSpec> specValue();
    //编辑回显
    SysSpec getById(long id);
}
